package com.yzl.nacos.user.common.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 业务异常类
 *
 * @author yangzhongli
 */
@Getter
@ToString
@Builder
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class ErrorCode {

	/**
	 * 错误
	 */
	private String error;
	/**
	 * http状态码
	 */
	private int status;
	/**
	 * 错误消息
	 */
	private String msg;

}